import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import axios from "@/axios/axios";

import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";


import * as API from "./axios/axios";
import * as echarts from 'echarts';


Vue.config.productionTip = false;
Vue.prototype.$axios = axios;
Vue.prototype.$echarts=echarts;
Vue.use(ElementUI);

new Vue({
  router,
  // store,
  render: (h) => h(App),
  beforeCreate(){
    Vue.prototype.$API=API
  }
}).$mount("#app");
